package com.swx.identityservice.mapper;

import com.swx.identityservice.models.ScbpUserPermission;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author Administrator
 * @version V1.0.0
 * @date 2018/6/4 0004 23:25
 */
public interface ScbpUserPermissionMapper extends Mapper<ScbpUserPermission> {

    int deletePermissionByUserId(Integer id);

    int selectCountByUserId(Integer id);
    List<ScbpUserPermission> getpermissionbyuserid(Integer id);

}
